home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / e_h / fractualuniverse / formulas / mandelmix.form < prev    next >
Text File  |  1995-12-30  |  435b  |  43 lines

  1. Mandelmix
  2. {
  3.     {
  4.         x1=-2.5
  5.         x2= 2.5
  6.         y1=-2.0
  7.         y2= 2.0
  8.         par1.r=0.27334
  9.         par1.i=0.02342
  10.         par2.r=-0.184
  11.         par2.i=0.6557
  12.         par3.r=0.28334
  13.         par3.i=0.02342
  14.         par4.r=-0.174
  15.         par4.i=0.6557
  16.         bailout=4.0
  17.     }
  18.     {
  19.         z=pixel
  20.         c1=pixel+par1
  21.         c2=pixel+par2
  22.         c3=pixel+par3
  23.         c4=pixel+par4
  24.     }
  25.     {
  26.         z=z*z
  27.         z=z+c1
  28.         z=z*z
  29.         z=z+c2
  30.         z=z*z
  31.         z=z+c3
  32.         z=z*z
  33.         z=z+c4
  34.         w=abs(z)
  35.     }
  36.     {
  37.         w>bailout
  38.     }
  39.     {
  40.         PAR1-4 ARE THE DIFFERENT POINTOFFSETS
  41.     }
  42. }
  43.